export default {
    name: "My",
    methods: {
        onLogout() {
            this.$store.commit("handleLogout");
        },
    },
    created(){
        this.$store.dispatch("GetMe")
    },
    computed: {
        isLogin() {
            return this.$store.getters.isLogin;
        },
        me() {
            return this.$store.state.me;
        },
    },
};